//
//  VISTACustomTabBar.h
//  VISTA看天下
//
//  Created by mac12 on 15/11/29.
//  Copyright (c) 2015年 mac12. All rights reserved.
//

#import <UIKit/UIKit.h>
@class VISTACustomTabBar;

@protocol VISTACustomTabBarDelegate <NSObject>
@optional
- (void)customTabBar:(VISTACustomTabBar *)tabBar didClickButton:(UIButton *)button WithButtonIndex:(NSUInteger)index;
@end

@interface VISTACustomTabBar : UIView
@property (nonatomic, strong)NSArray *selectedImageArray;
@property (nonatomic, strong)NSArray *unSelectedImageArray;
@property (nonatomic, strong)NSMutableArray *btnArray;
@property (nonatomic ,unsafe_unretained)id<VISTACustomTabBarDelegate> delegate;

- (instancetype)initWithFrame:(CGRect)frame;
- (instancetype)initWithFrame:(CGRect)frame WithSelectedImage:(NSArray *)selectedImg WithUnSelectedImage:(NSArray *)unSelectedImg;
@end
